<template>
    <div>
        <img :src="previewImg"
             alt="">
        <myMenu></myMenu>
    </div>
</template>
<script>
import myMenu from '@/commonComponents/menu'
export default {
    name: 'previewImg',
    props: {
        myMenu
    },
    data () {
        return {
            previewImg: ''
        }
    },
    created () {
        this.previewImg = this.$route.query.previewImg
    }
}
</script>
<style scoped>
img {
    width: 100%;
    height: auto;
}
</style>
